package com.example.a513;

import android.os.Bundle;

import androidx.activity.EdgeToEdge;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.graphics.Insets;
import androidx.core.view.ViewCompat;
import androidx.core.view.WindowInsetsCompat;
import androidx.viewpager.widget.ViewPager;

import adpater.LaunchImproveAdapter;

public class LaunchImproveActivity extends AppCompatActivity {
    private ViewPager viewPager;
    private int []arr = new int[]{
      R.mipmap.aa,R.mipmap.bb,R.mipmap.cc,R.mipmap.dd
    };

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        EdgeToEdge.enable(this);
        setContentView(R.layout.activity_launch_improve);
        viewPager = findViewById(R.id.pager_improve);
        LaunchImproveAdapter adapter = new LaunchImproveAdapter(getSupportFragmentManager(),arr);
        viewPager.setAdapter(adapter);
    }
}